finished updateProfile in api and urls