updates close button