change plist deprecated method