implement strong parameters for post create and update methods