Revert "Renamed function so it is automatically called on edit"

This reverts commit 058a304bdc61342bfeab8d65b4c803c0549bb14c.