edit in post profile method