Store revision version on DB