changed mysql stuff