Update flowmap.m