updated ud api utility