adding handlers
rudimentary updating