UPMC wins funding for emergency system