sync index, control, and view