updated server to deal with statuses