Updates environment
Updates API