Moved asr-db sync function