change composition function and update anji line chart