Adding _rev on db commits