Update models

correct Gii generated relations, labels, and rules