update admin.py:
 - code rework