find now uses indexes
Fixed issue with id as index
fix update index bug