Updating hudmap with broken code