save scores to db