Upd to official spark lib

Includes standardized callback and dev changes.