implemented logic for remote create and delete events