Updated deps
Added functions and queries to facilitate resource synchronization