add edit past version support