update claim task to return proper status codes