update ui, fix options