Time updating bugfix