updates with button presses