Adding total salary field to the extended model