added additional attributes for editing badge in view mode