fix set last_update