update the resource views