Fixed updating script.