Add staging urls and some optional params to /update_profile endpoint
Fix error when names are empty
merge changes