updated preferences dialog