added primary_term_dims_change api callback