implement possibility to get data from patch request