Updated documentation by changing the order of steps