update avartar length