first commit on database sync