committing db code