Apple refreshes Mac lineup with new keyboard touch functions