update option and solved delete problem