update id from path param