Security ministry relocates some branches after flooding