add attribute required to WebProperty and set some properties to be not required