Update resource definition