Make update and dialogs handle datetime as epoch seconds