Main update