IDClass update for /resource/{id} resources