fix updating users spec (tests and functionality)