improved auto-update of package version