Switched to faster db sync routine