now using json for database/[id]/status