Update adm.py

Dict to top