post controller updated