updated data/genre to use mysqli.