adding update view for post