updates to pause and start button functionality