Updated update function to the right version number