Added exception for onetime & compute_on_update

also removed print statements!