Fixed the issue of name to UUID translation of resources used in
contract update.