update plist usage to not use deprecated functions