method findByIdAndUpdate in offer repository