plist to database