Update rank size