updated some mysql stuff