update the avantar, restore the posts because empty folder would be removed in the repository