chart and fix after task update redirect_to wrong place bug