input and gui updates