fix(api): set updated resource id on put response