Minor bug fix in updating EL command buffer