update inquiry function