make model manager listen to resource changes