updating before trying to deploy