updated trailing takeprofit