changed time when api restarts