update filesource with pmap