fixes permitted_parameters for the posts