Make ajax action to update song rating use promises