#10 added a checkbox for automatic update