json gem update, refresh page on rating submit