small modifications
disable debug output
refactoring for display_update