Update identityf function
Update addf function