adding new fields to contents and public view for code and profile