updating grid structure, jquery embed