indexer: allow to update resource ended_at