organized core and updating colorBox