update enverionment