syntax change for mysql code