fixed missing initialization in last_update (log variable)