changed lock table