update to env