update the indent of a command