correctly update version