fix bug with datetime and autoupdate task amount