Finalize listing pages. Update database