update arrow position