Fixed update callback and added version