upddate resource;