updating input/output and stored data