modified micropost model