rename registered field to createdAt