Removed @contract decorator on update_host - db.py