Story 17 messageBox for refresh and logic for updating to database