update models
add indexer