Update app to work with Postgres version of API