updated controller
updated the ratings controller and model to submit to aws