update avatar edit
add some gems for tests