Change previous_step to be a string to reference uid