Fixing some bugs with updateResource