modifiy post and avatar