regId is stored as _id in the database!!