update datbase to mysql2