udpating the overlay