fix upload callback

.overlay.visit() callbacks now take 4 parameters; also include
‘pre_dict’