Fixed an issue with length of names,and updated readonly fields for more flexibility