fixed db details
renamed "version" to "revision"