edit code and session library