Remove existing objects with the same name before adding a new one