Replaces version number read from yaml successfully