updating some UI stuff in events