* wire sync hooks for folder create/update * cleanup * add hook tests * fix nil context * better context