Added method for PATCH handler