[DEV] update on the new application interface
[DEV] remove function onObjectRemove