update relevant to api