A uniform approach to semi-dynamic problems on digraphs