update initial direction