added the ability to edit a profile