[urban.py] Fixed and enhanced the module