updated mysql utilities