updated mysql stuff