removed deprecated mysql code and removed sync tab