updated display method