Ospf update after ip change

Hello
What happens if i change ip address of one interface in ospf routing? Will it updated automatically? If not how can i config ospf based on interfaces instead of network id?