added update method for username