Added edit functions for steps