fixed mysql update