updates main etc