added open, close, write, exit, show, and update