made check not a function anymore

Fixed update as well