updating changes in plot5