open & close states updated