updates to callback