update api and occasions