Implemented profile updating