Update indexes on save