bug in updating the rank. User set ones were getting updated