server: update index on startup