update input initial position