added Resource type and made changes automatically update (if IUpdatable is implemented)