resize lightbox
update working environment