update to form generation
adding resource added event on form creation