made changes to update to ngui