Moved create/updating to repository.
There is a bug with the updating where it won't detect errors with the post and inform the user for some reason. Need to figure out why that is.