update method delete on Posts Controller Add method validate on Post model