Updates example using curl