update api and wateCycle