Fixed Designer update issue

- remove unnecessary condition & function call
- remove unused functions