change callbacks to style 1
for on_read callbacks use onerror style