Updated views and serializers

We were still getting some errors for various database operations that
are now fixed.