update user photo fully functional