Implement method to sync db with markdown