Added a test and Postgres support for updating a status