db syncs are now working correctly

Signed-off-by: krishnan <krishnan@freshdesk.com>