A study of upper gastrointestinal endoscopy in management of acute upper gastrointestinal bleed