updating data file, paggination, fix photos bug