Added triggers to create objectId