updating the interface