update partial classes