fix update get last revision before changing doc