I'm not sure how to go about this. render_general_spinner_step is expecting an update_function that takes one argument and updates the last state of a particular operation.