change position graph