updated validation of Micropost