Add create and update methods. (work in progress)