add custom RecordNotFound exception and autorequired