add manage.py command to update ranks