Update for mysql