Edit wall function.