Update rank