adding curl command to do update