Added check if object already exists in data