Update history and raise version