Add explicitly update index after persisting resource