using update, for demonstration purposes