updated length of commands