update and add in lightbox