revisionstorage.js improved to update branches with revision history objects