change revision to head