udpating close