corrected userId problems on update route