[update] util functions for the show page