rebuild last revision