made the light update when gui closed