Updates main action