optimized engine task and update getECP