environment api update