add viewWillAppear method to refresh inbox
update