- add extensions for archivable query
- make archived entity back to active when updated