updated the registration fee logic