update acp function and composer