declare resourse update and delete for resource