bugfixes

- don't update file if json is update
date() -> time()