update the overlay resource