add update call to profile endpoint