Changed update status code function name