fixed formatting
fixed update_sup procedure