docs update, add target function to callback