update the method path_write for resetting the steps of function
remove the output display if that command is executed successfully