Added lvls and score to beat

also fixed an issue with the database not updating if the name already
exists (used replace if call to insert fails)