update version properly