update resource css