fixed rescource controller updating for models in modules