Move update_indices method to protected