update plugin to implement open/close all