fix bad version when updating