update and hide