Update path file and viewPost