Set revision number for mgo