changed enter method to an update, enter, and exit in market display function