stars update sql with ajax