Added resource validation on change