changes profile layout, adds bit of error handling for update profile