add support of PATCH method
actualize update method