setUpdate

Sets the function that is called repeatedly while the command is running