update close parameter when message closed