update index on types modification
fix authadapter