update Form and index