added update for mysql