Fix issue #2

Remove options when options are updated
fix #2