Changed code to update players finishranks in DB