Updating sql table with rank suffixes