move updateMySQL to logs, to avoid do it on every initial-setup