bump version and write changes