fixed issue if last_update didnt find a record