Added tiles and ajax function to update tiles.