Sync up with the current environment.