Make create and update dog work.