replaced unnecessary posts in edit controller