Convert score setting to atomic ops