Update mysql connection