changed commits to use api rather than sending "commit" to oracle