update school base api