update option. improve frontend