created patch method

updated spring version and created patch method for user