writing the loaded rating profile to db
fixed typo
new setratingprofile api command