update interface for interactive code