add avatar local file, update post