added new attributes for admin and internal api