Fix wrong version sent to update server