update microposts and user relationship